package com.yequan.work;

/**
 * @author yequan
 * @date 2021/02/20 14:01
 **/
public class CouponInfo {

    public String id; // required
    public String code; // required
    public CouponSetInfo couponSetInfo; // required
    public String price; // required
    public String status; // required
    public String create_time; // required
    public String expire_time; // required
    public String valid_begin_time; // required
    public String real_unit_price; // required
    public String enable; // required
    public String order_id; // required
    public String assign_time; // required
    public String use_time; // required
    public String user_id; // required
    public String unable_reason; // required
    public short to_expire; // required
    public String valid_time_desc; // optional
    public String expire_desc; // optional
    public boolean used; // optional

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public CouponSetInfo getCouponSetInfo() {
        return couponSetInfo;
    }

    public void setCouponSetInfo(CouponSetInfo couponSetInfo) {
        this.couponSetInfo = couponSetInfo;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(String expire_time) {
        this.expire_time = expire_time;
    }

    public String getValid_begin_time() {
        return valid_begin_time;
    }

    public void setValid_begin_time(String valid_begin_time) {
        this.valid_begin_time = valid_begin_time;
    }

    public String getReal_unit_price() {
        return real_unit_price;
    }

    public void setReal_unit_price(String real_unit_price) {
        this.real_unit_price = real_unit_price;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getAssign_time() {
        return assign_time;
    }

    public void setAssign_time(String assign_time) {
        this.assign_time = assign_time;
    }

    public String getUse_time() {
        return use_time;
    }

    public void setUse_time(String use_time) {
        this.use_time = use_time;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUnable_reason() {
        return unable_reason;
    }

    public void setUnable_reason(String unable_reason) {
        this.unable_reason = unable_reason;
    }

    public short getTo_expire() {
        return to_expire;
    }

    public void setTo_expire(short to_expire) {
        this.to_expire = to_expire;
    }

    public String getValid_time_desc() {
        return valid_time_desc;
    }

    public void setValid_time_desc(String valid_time_desc) {
        this.valid_time_desc = valid_time_desc;
    }

    public String getExpire_desc() {
        return expire_desc;
    }

    public void setExpire_desc(String expire_desc) {
        this.expire_desc = expire_desc;
    }

    public boolean isUsed() {
        return used;
    }

    public void setUsed(boolean used) {
        this.used = used;
    }
}
